Hackerrank if-else solution in python

join shbcf.ru